package com.yungu.swift.system.marketing.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.system.marketing.model.dto.MarketingChannelStatisticsDto;
import com.yungu.swift.system.marketing.model.param.AdminChannelStatisticsPageParam;
import com.yungu.swift.system.marketing.model.vo.MarketingChannelStatisticsExportVo;

import java.util.List;
import java.util.Map;

/**
 * @author xiuyin.cui - Generate
 * @version 1.1.0-SNAPSHOT
 * @since 2019-04-25 13:50
 */
public interface MarketingChannelStatisticsService extends BaseService<MarketingChannelStatisticsDto> {

    /**
     * 统计当天渠道邀请的用户数量
     *
     * @return int
     */
    ResponseData<Integer> statisticsChannelPerson();

    /**
     * excel数据
     *
     * @param statisticsPageParam 导出数据参数
     * @return List
     */
    ResponseData<List<MarketingChannelStatisticsExportVo>> listExport(AdminChannelStatisticsPageParam statisticsPageParam);
}
